package net.homeip.mmhg.game;

import net.homeip.mmhg.domain.Task;

/**
 * Select next task for <code>Team</code> in <code>Position</code>.
 *
 * @author ilya gerasimov
 */
public interface Dispatcher {
	
	/**
	 * Obtain new task.
	 * @param context <code>GameContext</code> for the game.
	 * @param position <code>Position</code> that requests for task.
	 * @return selected Task.
	 */
	public Task obtainTask(GameContext context, Position position);

}
